package com.tj.api.rest.user.response;

import com.tj.bo.common.conf.api.ResponseData;
import com.tj.template.application.user.output.UserAuthenticationInfo;

/**
 * @program: binary-option
 * @description
 * @author: frank
 * @create: 2020-09-02 15:39
 **/
public class UserAuthenticationResponse implements ResponseData {

    private String name;
    private String email;
    private String mobile;
    private String tips;

    public UserAuthenticationResponse(UserAuthenticationInfo userAuthenticationInfo) {
        this.name = userAuthenticationInfo.getName();
        this.email = userAuthenticationInfo.getEmail();
        this.mobile = userAuthenticationInfo.getMobile();
        this.tips = userAuthenticationInfo.getTips();
    }

    public String getName() {
        return name;
    }

    public UserAuthenticationResponse setName(String name) {
        this.name = name;
        return this;
    }

    public String getEmail() {
        return email;
    }

    public UserAuthenticationResponse setEmail(String email) {
        this.email = email;
        return this;
    }

    public String getMobile() {
        return mobile;
    }

    public UserAuthenticationResponse setMobile(String mobile) {
        this.mobile = mobile;
        return this;
    }

    public String getTips() {
        return tips;
    }

    public UserAuthenticationResponse setTips(String tips) {
        this.tips = tips;
        return this;
    }
}
